projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8799678
)
(dir_warning): Don't log a warning if Emacs hasn't
author
Geoff Voelker
<voelker@cs.washington.edu>
Thu, 23 Apr 1998 23:40:46 +0000
(23:40 +0000)
committer
Geoff Voelker
<voelker@cs.washington.edu>
Thu, 23 Apr 1998 23:40:46 +0000
(23:40 +0000)
finished initializing.
src/lread.c
patch
|
blob
|
history
diff --git
a/src/lread.c
b/src/lread.c
index 895fb6caa19e4005e0856fcee967959e4a110a03..930c9deac2c16777eb37c5af94ca262ffc57e313 100644
(file)
--- a/
src/lread.c
+++ b/
src/lread.c
@@
-2879,7
+2879,9
@@
dir_warning (format, dirname)
fprintf (stderr, format, XSTRING (dirname)->data);
sprintf (buffer, format, XSTRING (dirname)->data);
- message_dolog (buffer, strlen (buffer), 0, STRING_MULTIBYTE (dirname));
+ /* Don't log the warning before we've initialized!! */
+ if (initialized)
+ message_dolog (buffer, strlen (buffer), 0, STRING_MULTIBYTE (dirname));
}
void